Using JSON Web Token (JWT)
This authentication mechanism requires JWTString
to be specified in the connection string. If JWTString
is not specified in the connection string, the connector will attempt to find it in the system environment variables.
You provide this information to the connector in the connection URL. For more information about the syntax of the connection URL,
To configure JWT authentication:
- Set the
AuthMech
property to14
. - Set the
JWTString
property to the appropriate JWT to access the server.
For example:
jdbc:hive://node1.example.com:21050;AuthMech=14;JWTString=s0m3t0ken5tr1ngh3re
- Security and Authentication
- Building the Connection URL
- Authentication Driver Configuration Options on page 1
- Authentication Mechanisms
- Using No Authentication
- Using Kerberos
- Using User Name And Password